package com.news.news.dao;

import com.news.news.modle.Link;
import com.news.news.modle.News;
import com.news.news.modle.NewsType;
import com.news.news.modle.System;

import java.util.List;

public interface IndexDao {
    List<NewsType> newsTypeList();

    List<Link> getLink();

    System getSystem();

    List<News> getNews();

    List<News> findNewsByid(Integer id);

    List<News> queryNews(String name);
}
